package com.jyh.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jyh.blog.dto.LabelOptionDTO;
import com.jyh.blog.dto.ResourceDTO;
import com.jyh.blog.entity.Resource;
import com.jyh.blog.vo.AnonymousResourceVO;
import com.jyh.blog.vo.ConditionVO;
import com.jyh.blog.vo.ResourceVO;

import java.util.List;

/**
 * (Resource)表服务接口
 *
 * @author jyh
 * @since 2023-02-15 15:43:19
 */
public interface ResourceService extends IService<Resource> {

    List<ResourceDTO> resourceList(ConditionVO conditionVO);

    void saveOrUpdateResource(ResourceVO resourceVO);

    void deleteResourceById(String id);

    void changAnonymous(AnonymousResourceVO anonymousResourceVO);

    List<LabelOptionDTO> roleResourceList();

    void importSwagger();
}

